package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.base.PageResponse;
import com.zzyl.entity.NursingPlan;
import com.zzyl.entity.NursingProjectPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingPlanMapper {
    int insertNursingPlan(NursingPlan nursingPlan);

    int deleteNursingPlanById(int id);

    int updateNursingPlan(NursingPlan nursingPlan);

    NursingPlan getNursingPlanById(int id);

    List<NursingPlanVo> selectNursingPlan();

    Page<NursingPlan> pageNursingPlan(String planName, Integer status);

    Integer getCount(Integer id);
}
